<template lang="html">
  <div class="vip_item">
    <div class="item_title team_top" @click.stop="goUrl">
      我的团队
      <span>查看</span>
    </div>
    <div class="my_team">
      <ul>
        <li @click.stop="goUrl">
          <h3>{{vip_nu}}</h3>
          <p>我的会员</p>
        </li>
        <li class="fans_tips">
          <h3>{{fans_nu}}</h3>
          <p>我的粉丝<span class="tips" @click.stop="openTips"></span></p>
        </li>
      </ul>
    </div>
    <van-dialog v-model="is_show_tips"  use-slot class="fantps_dialog" confirmButtonText="我知道啦">
      <div class="fans_tips">
        <h3 class="fans_tips_title">什么是我的粉丝？</h3>
        <div class="p">
          美家美货会员均可以分享他人注册成为会员，经会员分享而注册的新会员均为老会员的粉丝，粉丝关系终身绑定。
        </div>
      </div>
    </van-dialog>
  </div>
</template>

<script>
export default {
  props: ['fans_nu', 'vip_nu'],
  data () {
    return {
      is_show_tips: false
    }
  },
  methods: {
    openTips () {
      this.is_show_tips = true
    },
    goUrl () {
      this.$router.push('/merber/team')
    }
  }
}
</script>

<style lang="css" scoped>
</style>
